<template>
  <div class="dashboard-container">
    <div class="app-container">
      <h2>
        首页
      </h2>
      <sun :money.sync="money" />
    </div>
  </div>
</template>

<script>
import sun from './components/sun.vue'
export default {
  components: { sun },
  data() {
    return {
      money: 100
    }
  },
  methods: {
    huaQian(value) {
      this.money = value
    }
  }

}
</script>

<style>

</style>
